from enum import Enum


class ErrCode(Enum):
    OK = "Success"
    AUTH_FAILED = "用户验证失败"
    ACCESS_NOT_ALLOWED = '不允许访问'


class AdmErrCode(Enum):
    OK = "Success"
    NO_SUPER_USER_PERMISSION = "无超级用户权限"
